/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo1.demo11;





/**
 *
 * @author Administrator
 */
public class Employee {
  private  String no;
  private  String name;
  private  double salary;
  public Employee(String no,String name,double salary){
           this.no=no;
           this.name=name;
           this.salary=salary;
                   
  }
  public double getSalary(){
      return this.salary;
  }
    public void getInfo(){
        System.out.println("name="+
                name+" no="+no
                +"Salary="+salary);
    }
}
